JavaScript

A5.InksetTool Method

Syntax

A5.Ink.setTool(tool[,sticky[,settings]])

Arguments

toolstring

The tool type to use.

stickyboolean

Whether the tool should be sticky. It the tool is not sticky it will be dropped after a single use. The pen tool is assumed to be sticky, as it is the base tool.

settingsobject

The settings object for the tool.

Description

Set the current tool in the ink control.